package org.xhy.hrm.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "alicloud.oss")
public class AlicloudOSSProperties {

    //读取方式：1.单个读取@value（"${alicloud.oss.accessId}"） 2.类上读取全部
    private String accessId;
    private String accessKeySecret;
    private String endpoint;
    private String bucket;
}
